package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class HotspotBlockHandler {
    public static String getHotspotBlockHandler(String type,
                                                String size,
                                                BlockException e){
        System.out.println("热点参数限流中，请稍后再试");
        return "热点参数限流中，请稍后再试";
    }
}
